It is a good practice to install files relative to our own variables
https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/
and it is required on systems like NixOS.
---
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1194
keybindings_dep = dependency('gnome-keybindings', required: false)
if keybindings_dep.found()
- keysdir = keybindings_dep.get_pkgconfig_variable('keysdir')
+ keysdir = keybindings_dep.get_pkgconfig_variable('keysdir', define_variable: ['datadir', datadir])
else
keysdir = join_paths(datadir, 'gnome-control-center', 'keybindings')
endif